﻿<Window x:Class="ManagementSystem.LisaUusAine"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Lisa uus aine" Height="450" Width="326" ResizeMode="CanMinimize">
    <Grid Height="450" Width="326" Background="#31000000">
        <Label Content="Aine nimi:" Height="28" HorizontalAlignment="Left" Margin="36,23,0,0" Name="aineNimi" VerticalAlignment="Top" FontWeight="Bold" />
        <TextBox Height="23" HorizontalAlignment="Right" Margin="0,28,83,0" Name="aineNimiBox" VerticalAlignment="Top" Width="120" BorderBrush="Black" TextChanged="aineNimiBox_TextChanged" />
        <Label Content="EAP:" Height="28" HorizontalAlignment="Left" Margin="36,72,0,0" Name="eap" VerticalAlignment="Top" FontWeight="Bold" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="123,72,0,0" Name="eapBox" VerticalAlignment="Top" Width="120" BorderBrush="Black" TextChanged="eapBox_TextChanged" />
        <Label Content="Kommentaar:" Height="28" HorizontalAlignment="Left" Margin="36,196,0,0" Name="kommentaar" VerticalAlignment="Top" />
        <Label Content="Ainekood:" Height="28" HorizontalAlignment="Left" Margin="36,117,0,0" Name="aineLabel" VerticalAlignment="Top" FontWeight="Bold" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="123,117,0,0" Name="ainekood" VerticalAlignment="Top" Width="120" BorderBrush="Black" TextChanged="ainekood_TextChanged" />
        <Label Content="Keel:" Height="28" HorizontalAlignment="Left" Margin="36,149,0,0" Name="keeleLabel" VerticalAlignment="Top" FontWeight="Bold" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="123,154,0,0" Name="keelecomboBox1" VerticalAlignment="Top" Width="120">
            <ComboBoxItem Content="Eesti keel" IsSelected="True" />
            <ComboBoxItem Content="Inglise keel" />
            <ComboBoxItem Content="Vene keel" />
        </ComboBox>
        <TextBox Height="99" HorizontalAlignment="Left" Margin="36,230,0,0" Name="kommentaarBox" VerticalAlignment="Top" Width="234" BorderBrush="Black" />
        <Button Content="Lisa" Height="23" HorizontalAlignment="Left" Margin="42,351,0,0" Name="lisaButton" VerticalAlignment="Top" Width="75" Click="button1_Click" />
        <Button Content="Välju" Height="23" HorizontalAlignment="Left" Margin="195,351,0,0" Name="v2ljuButton" VerticalAlignment="Top" Width="75" IsCancel="True" Click="v2ljuButton_Click" />
    </Grid>
</Window>
